using MediatR;
using RBAC.Api.Erroc;
using System.ComponentModel.DataAnnotations;

namespace RBAC.Api.Writh.Command.Roles
{
    /// <summary>
    /// 更新角色状态命令
    /// </summary>
    public class UpdateRoleStateCommand : IRequest<APIResult<object>>
    {
        /// <summary>
        /// 角色ID
        /// </summary>
        [Required]
        public int Id { get; set; }

        /// <summary>
        /// 角色状态
        /// </summary>
        [Required]
        public bool State { get; set; }
    }
} 